package this关键字;

public class Car {
    String name;
    double price;
    public Car(String name,double price){
        this.name=name;
        this.price=price;
    }
    public void goWith(String name){
        System.out.println(this);
        System.out.println(this.name+"和"+name+"正在赛跑");
    }
}
